﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Edge.Business.Entities;
using Edge.Common.Services;
using Edge.Common.Utils;
using Iesi.Collections.Generic;
using Shop.Business.Domain.Customers;

namespace Shop.Business.Domain.Orders
{
    /// <summary>
    /// Users object for NHibernate mapped table 'delivery_type'.
    /// </summary>
    [Serializable]
    public class DeliveryType : BaseEntity<int>
    {

        protected string name;
        protected string description;
        protected decimal price;

        public virtual string Name
        {
            get { return name; }
            set { name = value; }
        }

        public virtual string Description
        {
            get { return description; }
            set { description = value; }
        }

        public virtual decimal Price
        {
            get { return price; }
            set { price = value; }
        }
    }

    public enum DeliveryTypeId
    {
        [Description("Курьер")]
        Curier = 1,
        [Description("Самовывоз")]
        Self = 2,
        [Description("Почта России")]
        Post = 3,

    }
}